package com.xy.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "alibabaStock", path = "/stock")
public interface StockFeign {
    @RequestMapping(value = "/getList", method = RequestMethod.GET)
    public String getList();


    @RequestMapping(value = "/saveStockList", method = RequestMethod.POST)
    public String saveStockList();
}
